Conversation
|
Some changes occurred in compiler/rustc_codegen_gcc |
|
r? @jackh726 rustbot has assigned @jackh726. Use Why was this reviewer chosen?The reviewer was selected based on:
|
9866ca8 to
48187d1
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
48187d1 to
2bfa330
Compare
This comment has been minimized.
This comment has been minimized.
|
@rustbot ready |
This also causes bitcode to be saved for the allocator shim with -Csave-temps.
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
| let _profiler = TimeTraceProfiler::new(time_trace); | ||
| f() | ||
| }) | ||
| fn thread_profiler() -> Box<dyn Any> { |
There was a problem hiding this comment.
Why use Box<dyn Any>? I feel like it makes more sense to return TimeTraceProfiler, and then using Option<TimeTraceProfiler> at the call sites? Is there a reason that this needs to be on the heap?
There was a problem hiding this comment.
TimeTraceProfiler is defined in cg_llvm, while thread_profiler is part of a trait defined in cg_ssa.
As part of implementing rust-lang/compiler-team#908 I will have to move the LTO invocation from |
No description provided.